package DesignMode.Single;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}21:32
 */
public class Singleton08 {//枚举

    public static void main(String[] args) {
        Singletontest singletontest = Singletontest.INSTANCE;
        Singletontest singletontest1 = Singletontest.INSTANCE;
        System.out.println(singletontest == singletontest1);
    }
}

